﻿using System.Windows;
using Flux.Data.Maps;

namespace Flux.Editor.Models
{
	public class MapPaneModel
		: PaneModel
	{
		public static readonly DependencyProperty MapProperty = DependencyProperty.Register("Map", typeof (Map), typeof (MapPaneModel), new PropertyMetadata(OnMapChanged));
		public Map Map
		{
			get { return (Map) GetValue(MapProperty); }
			set { SetValue(MapProperty, value); }
		}

		public MapPaneModel(Map map)
		{
			Map = map;
			Name = map.Name;
		}

		private static void OnMapChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
		{
			
		}
	}
}